{% extends 'learning_logs/base.html' %}
{% load bootstrap3 %}

{% block header %}
<h3><a href="{% url 'learning_logs:topic' topic.id %}"></a>{{ topic }}</h3>
{% endblock header %}

{% block content %}
	<h3>编辑条目</h3>
	<form action="{% url 'learning_logs:edit_entry' entry.id%}" method="POST" class="form">
		{% csrf_token %}
		{% bootstrap_form form %}
		{% buttons %}
		<button name="submit">save changes</button>
		{% endbuttons %}
	</form>
{% endblock content %}